package com.kk.xhr.admin.controller.vo;

import com.kk.xhr.common.pojo.BinaryEnum;
import com.kk.xhr.common.pojo.RewardTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 奖惩vo
 *
 * @author luokexiong
 * @version 1.0 2021/2/18
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RewardVO {
    @ApiModelProperty(value = "id", example = "1")
    private Long id;
    @ApiModelProperty(value = "name", example = "小李子")
    private String name;
    @ApiModelProperty(value = "奖惩类型", example = "INTERN")
    private RewardTypeEnum type;
    @ApiModelProperty(value = "奖金", example = "5000")
    private Long money;
    @ApiModelProperty(value = "原因", example = "xxx")
    private String reason;
    @ApiModelProperty(value = "奖惩时间", example = "2020-3-7 12:00:00")
    private LocalDateTime rewardDate;
    @ApiModelProperty(value = "状态", example = "TRUE")
    private BinaryEnum status;
}
